hysop.operator.vorticity_absorption module

@file vorticity_absorption.py

class hysop.operator.vorticity_absorption.VorticityAbsorption(velocity, vorticity, dt, flowrate, start_coord, variables, custom_filter=None, implementation=None, **kwds)[source]

Bases: ComputationalGraphNodeFrontend

The periodic boundary condition is modified at the outlet in the flow direction in order to discard in the dowstream region the eddies coming periodically from the outlet. The far field velocity is set to u_inf at the inlet.

Parameters:
  • velocity (field) – input velocity

  • vorticity (field) – input vorticity

  • flowrate (ScalarParameter) – penalization factor applied to all geometries.

  • start_coord (coordinate of the absorption filter start (X coord))

  • custom_filter (sympy expression) – The formula to be applied onto the field.

  • variables (dict) – dictionary of fields as keys and topologies as values.

  • dt (ScalarParameter) – Timestep parameter that will be used for time integration.

  • implementation (Implementation, optional, defaults to None) – target implementation, should be contained in available_implementations(). If None, implementation will be set to default_implementation().

  • kwds – Keywords arguments that will be passed towards implementation poisson operator __init__.

classmethod default_implementation()[source]

Return the default Implementation, should be compatible with available_implementations.

classmethod implementations()[source]

Should return all implementations as a dictionnary. Keys are Implementation instances and values are either ComputationalGraphNode or ComputationalGraphNodeGenerator.